package builder.pattern.demo;

/**
 * @author 逸足天涯
 * @create 2019-10-12 18:42
 */
public class Director {
    IBuilder mybuilder;
    public void construct(IBuilder builder){
        mybuilder = builder;
        mybuilder.buildBody();
        mybuilder.insertWheels();
        mybuilder.addHeadLights();
    }

}